namespace CRM.DataAccess.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("CURRENCIES")]
    public partial class CURRENCy
    {
        public long ID { get; set; }

        public bool DELETED { get; set; }

        public long? CREATED_BY { get; set; }

        public DateTime DATE_ENTERED { get; set; }

        public long? MODIFIED_USER_ID { get; set; }

        public DateTime DATE_MODIFIED { get; set; }

        public DateTime? DATE_MODIFIED_UTC { get; set; }

        [Required]
        [StringLength(36)]
        public string NAME { get; set; }

        [Required]
        [StringLength(36)]
        public string SYMBOL { get; set; }

        [Required]
        [StringLength(3)]
        public string ISO4217 { get; set; }

        public double CONVERSION_RATE { get; set; }

        [StringLength(25)]
        public string STATUS { get; set; }
    }
}
